<!DOCTYPE>
<html ng-app="chatApp">
    <head>

        <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script> 
        <script src="chatApp.js"></script>
        <script src="roomController.js"></script>

    </head>
    <body>
        

<div class="container main" ng-controller="roomController">
    <div>
        <div class="span10 offset1" style="text-align: center">
        </div>
        <ul ng-repeat="msg in channel.messages">
            <li>{{msg}}</li>
        </ul>
       
    </div>
<form>
    <input type="text" ng-model="form.message"/>
    <button ng-click="sendMessage(selectedChannel)">Add</button>
</form>
    
</div>

</body>

</html>